﻿namespace Sustainalytics.LongRunningTaskManager.Interface
{
    /// <summary>
    /// Types of status for Long Running Task.
    /// </summary>
    public enum LongRunningTaskInstanceStatusEnum
    {
        /// <summary>
        /// Task has been scheduled.
        /// </summary>
        Scheduled = 1,

        /// <summary>
        /// Task is running.
        /// </summary>
        Running = 2,

        /// <summary>
        /// Task has finished.
        /// </summary>
        Finished = 3,

        /// <summary>
        /// Task failed to run until the completion.
        /// </summary>
        Failed = 4,

        /// <summary>
        /// Task was cancelled.
        /// </summary>
        Cancelled = 5
    }
}
